package home.google.apps.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PersistentEntryServiceAsync {

	void persistEntry(String name, String phone, AsyncCallback<Void> callback);

	void deleteEntry(Entry entry, AsyncCallback<Void> callback);

	void findByName(String name, AsyncCallback<String> callback);

	void findAllEntries(AsyncCallback<List<Entry>> callback);

	void getByName(String name, AsyncCallback<Entry> callback);

}
